<template>
	<view>
		<view :style="{'height':height+'px','background':bgColor}"></view>
		<view class="bg" :style="{'background':bgColor}"></view>
	</view>
</template>

<script>
	export default {
		props: {
			bgColor: {
				type: String,
				default: "#3957BF"
			},
			height: {
				type: String,
				default: '0'
			}

		},
		name: "cssArcBackground",
		data() {
			return {

			};
		}
	}
</script>

<style>
	.bg {
		height: 50px;
		width: 100%;
		border-radius: 0 0 50% 50%;
	}
</style>